package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * @ClassName: Step
 * @Description:
 * @author: lifei
 * @date: 2025年01月16日 13:21
 */
public class Step {
    /**
     * userId
     */
    private Long userId;
    /**
     * 步数
     */
    private Integer steps;
    /**
     * 日期
     * @DateTimeFormat(pattern = "yyyy-MM-dd")
     */
    private Date date;

    public Integer getSteps() {
        return steps;
    }

    public void setSteps(Integer steps) {
        this.steps = steps;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("steps", getSteps())
                .append("date", getDate())
                .toString();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
